Fix: Placeholder height wrong for figures in Firefox

Firefox specific fix for section height calculation for figures
due to an upstream bug.

Bug: 68498
Change-Id: I3d9c57f8fea58bb83028bdf4e013597c328a2cd9