Thank you very much Bob for your suggestion.
Indeed everything works just fine now.
The shape was created using Inkscape and exported as SVG file.