Autoscroll: fixed high CPU usage when the text fits to one page