I'm having a very weird issue with shapescripts.
I have a stereotype that extends Class.
On this stereotype I have defined a shapescript.
When I import my MDG and use this stereotype, I don't see the shapescript, it's just the default class shape.
I tried changing the shapescript, and using existing shapescripts that I know to be working but nothing seems to work.
When I extend my stereotype from Activity it works perfectly fine.
Trying to investigate further I even copied and pasted the whole <stereotype> part from ArchiMate3::BusinessActor in my MDG and changed the name to my stereotype name, but that didn't help either. I get the icon, and the background color, but not the shapescript.
(From ArchiMate3 this works just fine)
I have been breaking my head about this for more than an hour now.

Anyone have an idea what I'm doing wrong?
Thanks
Geert