fix HtmlBanner not running in main thread