bugfix: incorrect highlighting of rightmost columns when nRows < nCols