Set the proper frame for container views