Fix a problem rendering merged cells.
Re-implement headers as a separate region.