fixed slider moving after set due to rounding error.

Signed-off-by: Tolga HOŞGÖR <fasdfasdas@gmail.com>