fix texture scale bug