JSSegmentedControl bug fix