Fixed scale bug