Bug fix in Container.after()