Fix bug on rotation crash..