Improved animation perfmance.