fixed node mover to check if user tries to move a node to itself