Fixed resizing of view.