Disable keyboard controls when not in game