Set the slider bounds before the value to avoid inadvertent clipping.