Fixed freezing on game over