Fix on rotation bug