Expanding Node, in a tree layout, is expanding in the wrong direction

If I first expand the tree and move a child node the same situtation occurs:

Initial View

Updated View

Is there a way to set the node that just I moved to a root node before expanding it in order to guarantee the node expands downward?