Don't set maximized window state if we are entering fullscreen too, this makes restoring later consistent.
Wpedantic