fixes #2376 Fixed bug that prevented the update of the slider when there was only one handle or when the handle value was changed for the first time.
(cherry picked from commit 289e71c26282fe6ac2bd54a3296976927f417247)