Resize the preview frame when the window is resized.