Corrected the initial position and size for the window.