Scale object in the correct direction depending on which gizmo was used