This is how you can do it (it is more like a workaround)
* add a region to StateB with the tool from the palette
* rightclick on stateX and click "hide selected element"
* drag and drop stateX from the region of stateA into the region of stateB in the model explorer
* drag and drop stateX from the model explorer into stateB in the diagram