Fix a wrong window location