Fixed Bug in Texture