[Fix #31] Calculate the cell height in the right way.