[Bug 57071] Incorrect window drawing