Fix snap to surface.