When changing parameters of a viewport, do the appropriate update if it is current.
Attach a file by drag & drop or click to upload