minor fix (potential infinite recursion with ui.slider.setMaximum triggering change event)