Index to find the last line wrap index was off by one, which prevented the first wrapped line to trigger autoscroll. (cherry picked from commit 121030940c)
121030940c