Draft: bug in DXF export - fixes #1440