Prevent an exception when calculating empty table cell's height.