Further fix to smooth scrolling workaround.