Code

Snapping the transformation origin should also work for paths, not only for shapes