Fix location of output scroll first line.