Fixed crash when loading a game with hint function enabled.
Mouse/keyboard controls are now activated/deactivated correctly.