Fixed the cell height calculator so it is not dependent on the styler