[Bug 26030] A window is displayed wrong when it's shown for the _first_ time in a minimized state