Texture cache fixes.