ensure styling is correct under ShadowDOM polyfill.