Preserve the view of the window