Fix svg drawing