[#438] fixed xml parsing/conversion with Firefox

Also renamed `draw order` to `_draworder`