fix styles leak in polyfill