Slider/text UC: minor fix for invalid text entry

If the text box is in an error state due to a 0-length string, and the
user moves the slider without entering some new text, subsequent value
checks could fail.