Fix for model view being reset on resize.
Fix for model view getting reset on window resizes.