fix shadow finding for ShadowDOM Polyfill