Fixed out-of-range slider bug.