Fix error in TextureCache which meant that it never actually cached.