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