Fixes heavy visual glitch in which QtQuick parts of the window use colors from "inactive" state while menu is open, most notably application header bar.