Issue with svg and drop shadows

Hello everyone! I created a series of icons with a cartoonish drop shadow effect. They render well in Figma but not when I export them in SVG.
Any idea why? Should I just export them as PNG instead?

Thanks!

Figma:
Screenshot 2022-08-31 at 10.47.49

SVG:
Screenshot 2022-08-31 at 10.47.41

You have to set the stroke of the element to “center”