fix to set the frame of the view controller to the bounds of the container