Commit 9: Fixed more bugs with the Slider during resizing.