Fix imprecise header height calculation (#2995)
* Remove dead code * Fix header height calculation
authored by danabra.mov and committed by GitHub 2 years ago 3ec4e034 77199976