Fix animation under webkit