Fix uniform integer_scale bug.