Found a problem: If it's laggy, then the player will go off screen and it will keep going when he's supposed to die for a while.