Fix update bugs when Auto Scroll is enabled.

Bug was introduced by commit c38c37c7200f208699fd9dce62f557b1185bfd3a.