use mouse point as reference when dragging a node