Save the window's position, fixes #4