### Description:
With the system border enabled via CMake and a QML window configured as a top window using flags, switching window focus causes a white bar to appear at the top briefly before disappearing.
### Reproduction Steps:
- Build with system border enabled in CMake.
- Launch a QML window configured as a top window using flags.
- Switch focus from the QML window to another window, then switch back.
- The white bar appears at the top momentarily.
