Fix for broken animations with FF31 update