(HTMLElementImp::xblEnteredDocument): Fix a bug
(HTMLElementImp::invokeShadowTarget): Refine