Dependency sorting to make handle reparenting work correctly
Simplify/bug fix edit part and selection for wall constraint