Fix a bug where the range of a scale function is reset to [0,1]

This happens when passing in a new scale function through,
`scale_using`, or in the options object under the keys,
`x_scale` or `y_scale`. Previously we didn't set the range when
these new scale functions were passed in.