improve rendering under polyfill.