Fix a bug where drag-and-dropping a scene node with children in the hierarchy panel was erroneous.