Fixed localScale bug