only setting size on a view if hte region has a size