fixed bug that locked the game on restarting after the game over screen