appendChild from a tree with a rendered causes failures

The following fails to correctly update the internal pointers.

treeWithoutRenderer.appendChild(childFromParentWithRenderer)

Fixes #438