A few minor corrections to resizeColumnsToContent method.