chore(selection): ensure the previous selection is still in the registry
chore(selection): ensure the previous selection is still in the registry

Related to bpmn-io/bpmn-js#335

pedesen/diagram-js,pedesen/diagram-js,bpmn-io/diagram-js