Recursively mark removedFromDOM earlier

Marking removedFromDOM after calling
parent.removeChild could trigger attempts to
destroy DOM nodes that were already removed by
the parent's DOM Manager.