Accordion Skin "material" looks different depending on init

When you init the Accordion on a page like this Sample: Init on page

It looks like the material skin as described in the docs.

But if you init the Accordion within a Layout like this Sample:
https://dhtmlx.com/docs/products/dhtmlxAccordion/samples/01_init/03_in_layout.html

It looks different, even when you specify the skin “material”.

Should it be so?