Static refs still need to be tracked in dynamicChildren because unmount also takes the fast path when dynamicChildren is present, and all refs need to be properly unmounted. This reverts commit 920773fc6b.
920773fc6b