#7035 Fix creating decorated shape elements inside domain diagrams
A bug crept into the diagram editor in the last release, which has now been fixed. This bug prevented the creation of decorated shape elements within a diagram, which affected CIP state machine diagrams, for example.