Changes the container view's size to fit the background view.