fix #293 SVG sample broken on playground

Close #303