Fix hidden menubar behavior in Unity with Qt5