fixed bug where _resizedviews resized to 0