sprite caching WIP