FigureSvgPainter: now it works correctly with arrows (#27)