Fixed ContainerView code to build views correctly