fix life decrementing when game is over