[Bug 26030] A window displays wrong when it's shown for the first time in a minimized state