Resolved rotation bug