Fixe bug with game over detection.