Into account the scaling of an element when snapping