Resize the preview frame