Save the autoresize mask before overwritting the view.