Add transform for freehand mode