do not resize maximized window when leaving fullscreen