Stopped scrollTo from scrolling to invalid values.