Bugfix: non disparition of the Qt Popup Menu with X11 or SDL outputs.