Fix bug in UIContainers