That error message doesn't seem to have anything to do with the container, for it speaks of Sprite-plugin.
It could be that adding the container broke some of your events, because of instances still in your layout that weren't correctly referenced anymore. But I haven't had this error myself.
If you could send me your capx, either through the forum or on my email (which I send in my PM) I'll take a look.