ShadowDOM Polyfill wrapping broke HAS_BUTTONS check