subtexture creation fix