Fix pager display bug on long lines.