Fixed: XML dump takes care hidden view and not visible windows

Previously, when dumping the xml, cucapp took care about hidden view and not visible window.