fix splash screen animation in WebKit