Fix game over condition