Fixed bug where only inner view would hide and leave the containing view visible but transparent.