Fix EventService.animate for non-Chrome Apps.