Workaround WebKit's SVG refresh bug