Fixed bug that inappropriately caused a game over