Fix coordinates for snap to node feature