Fix section height calculation math