Fix the cell height calculation.