Fix magnetic grip of the nodes so it works in both directions