QtWayland: backport fix for misplaced menus and popups in GNOME
This is again a modified version that is not applied to KDE sessions as it would break things there.
This is again a modified version that is not applied to KDE sessions as it would break things there.