Fix for compliance with Gnome 3: when hidden, loose focus (and regain it when shown); inspired by https://github.com/Guake/guake/issues/89