Added axis locking to Rotate action.