Fix reference error of textures in dist files