fixed glitch could reset game with keyboard when it was not over