Fixed bug: invisible node with children is not exported

children are exported but the coordinates are wrong(with each children
as seperate parents).