Fixed a bug that caused the keyboard not to accept inputs if a level was selected by using the mouse to select a level or mode.