fixed error in animated texture