Fix remembering of window position