[UI] Improved animation caching