Fix bug in determining if new position is past anchor
Merge branch 'limit-dragging-to-anchor'