Incompletely rendered cytoscape network

Hello,
I have a Dash/Cytoscape application showing WikiPathways.

Sometimes, the Cytoscape network is not rendered completely and only residual edges are shown.
The nodes and edges are there, clickable, but it seems like the network rendering was not finished.
No error messages from Dash. And many warnings from React and/or cytoscape.js, e.g.

Uncaught 
Exception
​columnNumber: 0
​data: null
​filename: "webpack-internal:///./node_modules/cytoscape/dist/cytoscape.cjs.js"
​lineNumber: 28993
​message: ""
​name: "NS_ERROR_NOT_AVAILABLE"
​result: 2147746065
​stack: "CRp$3.safeDrawImage@webpack-internal:///./node_modules/cytoscape/dist/cytoscape.cjs.js:28993:11\nCRp$3.drawInscribedImage@webpack-internal:///./node_modules/cytoscape/dist/cytoscape.cjs.js:29120:7\ndrawImages@webpack-internal:///./node_modules/cytoscape/dist/cytoscape.cjs.js:29652:11\nCRp$5.drawNode@webpack-internal:///./node_modules/cytoscape/dist/cytoscape.cjs.js:29776:3\nCRp$1.drawElement@webpack-internal:///./node_modules/cytoscape/dist/cytoscape.cjs.js:28452:7\ndrawElement@webpack-internal:///./node_modules/cytoscape/dist/cytoscape.cjs.js:31003:14\nETCp.getElement@webpack-internal:///./node_modules/cytoscape/dist/cytoscape.cjs.js:27464:10\nCRp$1.drawCachedElementPortion@webpack-internal:///./node_modules/cytoscape/dist/cytoscape.cjs.js:28477:30\nCRp$1.drawCachedElement@webpack-internal:///./node_modules/cytoscape/dist/cytoscape.cjs.js:28582:7\nCRp$1.drawCachedElements@webpack-internal:///./node_modules/cytoscape/dist/cytoscape.cjs.js:28611:7\nCRp$1.drawLayeredElements@webpack-internal:///./node_modules/cytoscape/dist/cytoscape.cjs.js:28646:7\nCRp$6.render@webpack-internal:///./node_modules/cytoscape/dist/cytoscape.cjs.js:30369:9\nrenderFn@webpack-internal:///./node_modules/cytoscape/dist/cytoscape.cjs.js:26722:9\n"
​<prototype>: ExceptionPrototype { toString: toString(), name: Getter, message: Getter, … }

I have to reload the web page to get the correct view. It seems to be random(?).
Could you please suggest what could be wrong? Or should I use a specific Dash / Cytoscape version to avoid the React warnings:

Warning: Cannot update a component from inside the function body of a different component. etc.

Warning: Unsupported style property overflow-y. Did you mean overflowY? etc.

Warning: Unsupported style property overflow-wrap. Did you mean overflowWrap? etc.

environment

...
dash==1.15.0
dash-bootstrap-components==0.10.5
dash-core-components==1.11.0
dash-cytoscape==0.2.0
dash-html-components==1.1.0
dash-pathway==0.0.3
dash-renderer==1.7.0
dash-table==4.10.0
...

Thank you,
Ondrej