With help from a contributor I changed class to activity and this has given me the shape but not the icon.
I then changed the attributes of the stereotype in my toolbox profile to point to UML::Activity instead of UML::Class.
This is now resolved.