Fix the window.