Current "legacy" window decorations are broken and a new window decoration for the remote desktop case should be designed and implemented.
With Qt5 and the removal of native backend we don't need to even think about remote use cases any more.