Update DiagramWidget.tsx
Update DiagramWidget.tsx

This is the proposed fix for the issue that I just logged: https://github.com/projectstorm/react-diagrams/issues/258
projectstorm/react-diagrams,projectstorm/react-diagrams,projectstorm/react-diagrams