Fix game not ending