Modified the frame and canvas size