Fix animation for FF