Fix loading TGA images.