When frame changes the view is only reset if the size of the new frame is different than the old size.