When adjusting content size, manually set the child view’s frame in case it doesn’t automatically adjust with its parent.