Fix wrong computation of cell height