Game no longer crashed due to keyevents when the gamestate is not running
Fixed game crashing due to key events when the game was not in running state