Fixes 5370: Uses correct container when adding files through embed.
Merge pull request #5371 from juho-jaakkola/embed-container

Fixes 5370: Uses correct container when adding files through embed.