Fixed ceiling instead of rounding issue.

Fixed case where range has a lot of values and step is < 2px - in such case you will be able to choose any of the steps by mouse, but then the range will change it to following step.