Fixed bug in PDF export for undirected nets