Fix: 1. slider position is not right; 2. slider space is not right

I find when value is 0.5, the track is not in the middle of slider. And when I set minimumRangeLength to 0.25, the min range of min and max track is not the quarter of slider. And some other fixes.