Fix exiting OpenMW via the window close button (regression)