Fix bug 2716 where users with dots in the thousands place would lose most of their lines of scrollback