Ensure traversal through shadow roots when determining descendants.