Applied patch to issue 566 by peter.d.reid
Applied patch to issue 566 by peter.d.reid

ryanramage/svg-editor,trentmillar/ddp-level-editor,trentmillar/ddp-level-editor,trentmillar/ddp-level-editor,ryanramage/svg-editor,ryanramage/svg-editor