Make sure we copy the mipmap sizes when generating texture array from images