How can I transform anchor point and see and snap to shapes midpoints?