Fix bug in doubleslider