Fixes incorrect cursor position for number sliders as described on task T62939
The problem was reminiscent from offset logic for the pill-shaped sliders of the previous design.
Still left the else for UI_BTYPE. I don't think it is being used for anything, so in case it's better to remove the else block altogether, I'll remove it.