Fixed trivial rotation bug