Workaround for WebKit-based browsers.