Fixed bugs in SeekBar