texture scale bug fix