Don't forget the last char of slider input

Fixes #9683.