Fixes the animation for FF