Enhanced snap functionality for pathgrid points.