#9376 ui.slider: modified , so that slider value can not be set more than max ...

...Fixed #9376 - ui.slider: On mouse move slider sets value more than max