Remove unnecessary alpha channel from a texture