Fixed an issue where clicking at direction 5 while facing direction 1 would cause the unit to rotate the wrong direction