Makes Preferences menu not openable during game runtime
Closes: bgo#531825