limits explicit height for flash boxes to absolute-layout-mode

Kudos for this goes to @myabc.

https://www.openproject.org/work_packages/15221
https://www.openproject.org/work_packages/15142