Improved animation performance