Fixed scaling and rotation bug with X + Y actions.