Fixing the dragging of graph nodes.