Fix for texture data formats