Fixed subtree positioning bug