Fixed game over bug when rotating