Fixed the position of the window