Correctly sets the frame of the contained view controller