Fixes Safair 8 specific bug in Animation