fixed whether or not a view can be added to another view