Fixed ScrollTo bug