Clicking on the border or slightly above the border of the first segment button causes the visible selected value to switch, but setValue is never called.
Here is a screenshot example.

In this image, there are two segments and the second segment is selected. If the user clicks at the location where the cursor is, the animation will play and the first segment will become visibly selected, however, the setValue handler will never be called properly.