Fixes #30599, B/C broken in JHtmlBootstrap::addPanel and startPane