Force surrounding container recognize total height.

[fixes #78203414]