fix Texture.lua