Fix to ensure that smoothing can be turned off.