fix CacheTexture.as