fix bugs in Slider initial value

Signed-off-by: tengattack <tengattack@foxmail.com>