fix node movement from one parent to another