mxgraph likes to throw errors and crash