Fix typing in text box when using slider