Bugfix: failure when exporting SVG from object containing multiple islands. Includes regression test. #2050