Sprite caching optimized