Adaptation of Raphael.FreeTransform for Snap SVG