Issue #2177417 by dsnopek: Widget output when editing with IPE can be different than when viewing the page normally (easily reproducable with "Submenu" widget)