Fixes #2, related to inverted coordinates when exporting.