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:

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

Should it be so?