Snap to grid points.