Fix #192

Add nil check

Fix spam in native context

/cc @DylanLacey

Called get_page on {"name"=>nil, "type"=>"UIAToolbar", "label"=>nil, "value"=>nil, "rect"=>{"origin"=>{"x"=>0, "y"=>568}, "size"=>{"width"=>320, "height"=>44}}, "dom"=>nil, "enabled"=>true, "valid"=>true, "visible"=>false, "children"=>[{"name"=>nil, "type"=>"UIAImage", "label"=>nil, "value"=>nil, "rect"=>{"origin"=>{"x"=>0, "y"=>567.5}, "size"=>{"width"=>320, "height"=>0.5}}, "dom"=>nil, "enabled"=>true, "valid"=>true, "visible"=>false, "children"=>[], "hint"=>nil}, {"name"=>nil, "type"=>"UIAImage", "label"=>nil, "value"=>nil, "rect"=>{"origin"=>{"x"=>0, "y"=>568}, "size"=>{"width"=>320, "height"=>44}}, "dom"=>nil, "enabled"=>true, "valid"=>true, "visible"=>false, "children"=>[], "hint"=>nil}], "hint"=>nil}
Called get_page on {"name"=>nil, "type"=>"UIAImage", "label"=>nil, "value"=>nil, "rect"=>{"origin"=>{"x"=>0, "y"=>567.5}, "size"=>{"width"=>320, "height"=>0.5}}, "dom"=>nil, "enabled"=>true, "valid"=>true, "visible"=>false, "children"=>[], "hint"=>nil}
Called get_page on {"name"=>nil, "type"=>"UIAImage", "label"=>nil, "value"=>nil, "rect"=>{"origin"=>{"x"=>0, "y"=>568}, "size"=>{"width"=>320, "height"=>44}}, "dom"=>nil, "enabled"=>true, "valid"=>true, "visible"=>false, "children"=>[], "hint"=>nil}