Show the code that creates the groups and adds them to the container, before and after the undesired behavior.