handle when there is no size on the view