Repository: excalidraw
Issue: Canvas crashed while zooming and resizing a square at the same time
Labels: bug

### Scene content

```
{"excalidraw-library":[[{"id":"ot7FMdocZjgAFF9AXYW68","type":"rectangle","x":228.0298507462685,"y":38.283582089552226,"width":389.5522388059702,"height":204.47761194029852,"angle":6.283185307179585,"strokeColor":"#000000","backgroundColor":"transparent","fillStyle":"hachure","strokeWidth":2,"strokeStyle":"solid","roughness":1,"opacity":100,"groupIds":["wpxaFbkNaWdojb1Kg5AWB"],"strokeSharpness":"sharp","seed":997217269,"version":248,"versionNonce":482149467,"isDeleted":false,"boundElementIds":null},{"id":"XrXtAi5edlI8ON_zrotpI","type":"rectangle","x":399.6716417910452,"y":245.7462686567162,"width":61.19402985074623,"height":38.80597014925371,"angle":6.283185307179585,"strokeColor":"#000000","backgroundColor":"transparent","fillStyle":"hachure","strokeWidth":2,"strokeStyle":"solid","roughness":1,"opacity":100,"groupIds":["wpxaFbkNaWdojb1Kg5AWB"],"strokeSharpness":"sharp","seed":828821979,"version":169,"versionNonce":1556628181,"isDeleted":false,"boundElementIds":null},{"id":"vdAYIS2-Sm3AtaIOMWSTH","type":"line","x":396.68656716418013,"y":281.56716417910485,"width":86.56716417910445,"height":35.820895522388014,"angle":6.283185307179585,"strokeColor":"#000000","backgroundColor":"transparent","fillStyle":"hachure","strokeWidth":2,"strokeStyle":"solid","roughness":1,"opacity":100,"groupIds":["wpxaFbkNaWdojb1Kg5AWB"],"strokeSharpness":"round","seed":445386069,"version":203,"versionNonce":1693565179,"isDeleted":false,"boundElementIds":null,"points":[[0,0],[-86.56716417910445,35.820895522388014]],"lastCommittedPoint":null,"startBinding":null,"endBinding":null},{"id":"llnp8k2E9nbzjzfhUbeJN","type":"line","x":457.88059701492625,"y":284.5522388059696,"width":100,"height":37.31343283582089,"angle":6.283185307179585,"strokeColor":"#000000","backgroundColor":"transparent","fillStyle":"hachure","strokeWidth":2,"strokeStyle":"solid","roughness":1,"opacity":100,"groupIds":["wpxaFbkNaWdojb1Kg5AWB"],"strokeSharpness":"round","seed":772136571,"version":212,"versionNonce":1824727093,"isDeleted":false,"boundElementIds":null,"points":[[0,0],[100,37.31343283582089]],"lastCommittedPoint":null,"startBinding":null,"endBinding":null},{"id":"qK_g61m1iI4PbfLrhgF7m","type":"line","x":557.8805970149266,"y":323.35820895522335,"width":132.83582089552237,"height":23.8805970149254,"angle":6.283185307179585,"strokeColor":"#000000","backgroundColor":"transparent","fillStyle":"hachure","strokeWidth":2,"strokeStyle":"solid","roughness":1,"opacity":100,"groupIds":["wpxaFbkNaWdojb1Kg5AWB"],"strokeSharpness":"round","seed":78224053,"version":187,"versionNonce":212199835,"isDeleted":false,"boundElementIds":null,"points":[[0,0],[-132.83582089552237,-23.8805970149254]],"lastCommittedPoint":null,"startBinding":null,"endBinding":null},{"id":"_w4n9sT7dV0FQLbfE6cE5","type":"line","x":426.53731343283664,"y":300.9701492537315,"width":107.46268656716416,"height":19.402985074626883,"angle":6.283185307179585,"strokeColor":"#000000","backgroundColor":"transparent","fillStyle":"hachure","strokeWidth":2,"strokeStyle":"solid","roughness":1,"opacity":100,"groupIds":["wpxaFbkNaWdojb1Kg5AWB"],"strokeSharpness":"round","seed":677009179,"version":165,"versionNonce":1748717973,"isDeleted":false,"boundElementIds":null,"points":[[0,0],[-107.46268656716416,19.402985074626883]],"lastCommittedPoint":null,"startBinding":null,"endBinding":null}]],"excalidraw-state":{"theme":"light","currentChartType":"bar","currentItemBackgroundColor":"#4c6ef5","currentItemEndArrowhead":"arrow","currentItemFillStyle":"solid","currentItemFontFamily":1,"currentItemFontSize":36,"currentItemLinearStrokeSharpness":"round","currentItemOpacity":100,"currentItemRoughness":0,"currentItemStartArrowhead":null,"currentItemStrokeColor":"#364fc7","currentItemStrokeSharpness":"sharp","currentItemStrokeStyle":"solid","currentItemStrokeWidth":4,"currentItemTextAlign":"center","cursorButton":"up","editingGroupId":null,"elementLocked":false,"elementType":"selection","exportBackground":true,"exportEmbedScene":false,"exportWithDarkMode":false,"gridSize":null,"lastPointerDownWith":"mouse","name":"Untitled-2020-08-09-0429","openMenu":null,"previousSelectedElementIds":{},"scrolledOutside":false,"scrollX":-7640.235600062897,"scrollY":-3267.7655433822197,"selectedElementIds":{"FAhE21p1SDOggKBkgjrSP":true,"fQFoP7Y75npekfSrWWvjX":true},"selectedGroupIds":{},"shouldAddWatermark":true,"shouldCacheIgnoreZoom":true,"showStats":false,"viewBackgroundColor":"#ffffff","zenModeEnabled":false,"zoom":{"value":5.4,"translation":{"x":196.70891985884992,"y":21424.29453537458}}},"excalidraw":[{"type":"rectangle","version":64,"versionNonce":1101961745,"isDeleted":false,"id":"FAhE21p1SDOggKBkgjrSP","fillStyle":"solid","strokeWidth":2,"strokeStyle":"solid","roughness":0,"opacity":100,"angle":0,"x":4135.047320050557,"y":-2139.0085769252405,"strokeColor":"#000000","backgroundColor":"#fff","width":3605,"height":1730,"seed":370312938,"groupIds":[],"strokeSharpness":"sharp","boundElementIds":[]},{"type":"rectangle","version":100,"versionNonce":1563917073,"isDeleted":false,"id":"_ZthzBTz9wryinXc7CsHj","fillStyle":"solid","strokeWidth":2,"strokeStyle":"solid","roughness":0,"opacity":100,"angle":0,"x":4200.047320050557,"y":-2095.5085769252405,"strokeColor":"#000000","backgroundColor":"#fff","width":1157.5,"height":1630,"seed":1384732970,"groupIds":[],"strokeSharpness":"sharp","boundElementIds":[]},{"type":"rectangle","version":147,"versionNonce":1348352639,"isDeleted":false,"id":"p4KuVTQoUEjsexdEjK9lE","fillStyle":"solid","strokeWidth":2,"strokeStyle":"solid","roughness":0,"opacity":100,"angle":0,"x":5432.547320050557,"y":-2090.5085769252405,"strokeColor":"#000000","backgroundColor":"#fff","width":2227.5,"height":517.5,"seed":934875062,"groupIds":[],"strokeSharpness":"sharp","boundElementIds":[]},{"type":"rectangle","version":236,"versionNonce":395833585,"isDeleted":false,"id":"acpFynHDONm4HIQ-kWu-D","fillStyle":"solid","strokeWidth":2,"strokeStyle":"solid","roughness":0,"opacity":100,"angle":0,"x":6316.297320050557,"y":-1534.2585769252405,"strokeColor":"#000000","backgroundColor":"#fff","width":1330,"height":517.5,"seed":313024886,"groupIds":[],"strokeSharpness":"sharp","boundElementIds":[]},{"type":"rectangle","version":234,"versionNonce":1120965279,"isDeleted":false,"id":"zCCbb2XnRapJKxv2WaqCC","fillStyle":"solid","strokeWidth":2,"strokeStyle":"solid","roughness":0,"opacity":100,"angle":0,"x":5441.297320050557,"y":-966.7585769252405,"strokeColor":"#000000","backgroundColor":"#fff","width":2224.9999999999995,"height":517.5,"seed":1704936298,"groupIds":[],"strokeSharpness":"sharp","boundElementIds":[]},{"type":"rectangle","version":324,"versionNonce":2116987601,"isDeleted":false,"id":"L4rGK16B3mJPIhQnp1hQh","fillStyle":"solid","strokeWidth":2,"strokeStyle":"solid","roughness":0,"opacity":100,"angle":0,"x":5435.047320050557,"y":-1529.2585769252405,"strokeColor":"#000000","backgroundColor":"#fff","width":829.9999999999995,"height":510,"seed":358098218,"groupIds":[],"strokeSharpness":"sharp","boundElementIds":[]},{"type":"rectangle","version":154,"versionNonce":1099097791,"isDeleted":false,"id":"Xyj_fmdVuV7riuoB4aYU5","fillStyle":"solid","strokeWidth":4,"strokeStyle":"solid","roughness":0,"opacity":100,"angle":0,"x":5392.547320050557,"y":-2320.5085769252405,"strokeColor":"#c92a2a","backgroundColor":"#fa5252","width":17.499999999999986,"height":2085,"seed":427883062,"groupIds":[],"strokeSharpness":"sharp","boundElementIds":[]},{"type":"rectangle","version":206,"versionNonce":965945521,"isDeleted":false,"id":"rVjED4_ZqwxV2WHxB1HXQ","fillStyle":"solid","strokeWidth":4,"strokeStyle":"solid","roughness":0,"opacity":100,"angle":0,"x":6285.463986717221,"y":-2345.5085769252405,"strokeColor":"#c92a2a","backgroundColor":"#fa5252","width":17.499999999999986,"height":2085,"seed":1051564138,"groupIds":[],"strokeSharpness":"sharp","boundElementIds":[]},{"type":"text","version":57,"versionNonce":991278815,"isDeleted":false,"id":"36NEuEFbschO5CgJ3skzP","fillStyle":"solid","strokeWidth":4,"strokeStyle":"solid","roughness":0,"opacity":100,"angle":0,"x":4416.88065338389,"y":-2491.20554662221,"strokeColor":"#c92a2a","backgroundColor":"#fa5252","width":551.3333333333333,"height":288.1969696969696,"seed":1574530614,"groupIds":[],"strokeSharpness":"sharp","boundElementIds":[],"fontSize":225.54545454545442,"fontFamily":1,"text":"33%","baseline":203.19696969696957,"textAlign":"center","verticalAlign":"top"},{"type":"text","version":80,"versionNonce":1936517777,"isDeleted":false,"id":"J2r6zBc4XG5yeapIoNjNS","fillStyle":"solid","strokeWidth":4,"strokeStyle":"solid","roughness":0,"opacity":100,"angle":0,"x":5651.380653383887,"y":-2520.4403951070585,"strokeColor":"#c92a2a","backgroundColor":"#fa5252","width":339,"height":285,"seed":1539836854,"groupIds":[],"strokeSharpness":"sharp","boundElementIds":[],"fontSize":225.54545454545442,"fontFamily":1,"text":"17%","baseline":200,"textAlign":"center","verticalAlign":"top"},{"type":"text","version":120,"versionNonce":1981383423,"isDeleted":false,"id":"Uku4Ob4t1wEo_8NvxBmy4","fillStyle":"solid","strokeWidth":4,"strokeStyle":"solid","roughness":0,"opacity":100,"angle":0,"x":6763.380653383889,"y":-2552.1752435919075,"strokeColor":"#c92a2a","backgroundColor":"#fa5252","width":555,"height":285,"seed":478027382,"groupIds":[],"strokeSharpness":"sharp","boundElementIds":[],"fontSize":225.54545454545442,"fontFamily":1,"text":"50%","baseline":200,"textAlign":"center","verticalAlign":"top"},{"type":"text","version":99,"versionNonce":879980657,"isDeleted":false,"id":"G8uls116pctzQc6mZpvgE","fillStyle":"solid","strokeWidth":4,"strokeStyle":"solid","roughness":0,"opacity":100,"angle":0,"x":3541.8806533838906,"y":-2000.4403951070585,"strokeColor":"#364fc7","backgroundColor":"#fa5252","width":551.3333333333333,"height":288.1969696969696,"seed":1613202218,"groupIds":[],"strokeSharpness":"sharp","boundElementIds":[],"fontSize":225.54545454545442,"fontFamily":1,"text":"33%","baseline":203.19696969696957,"textAlign":"center","verticalAlign":"top"},{"type":"rectangle","version":375,"versionNonce":319736607,"isDeleted":false,"id":"8M6_TZGO0AIQbmhy0LmH2","fillStyle":"solid","strokeWidth":4,"strokeStyle":"solid","roughness":0,"opacity":100,"angle":1.5729330756797273,"x":5877.529516676962,"y":-3967.175669727418,"strokeColor":"#495057","backgroundColor":"#4c6ef5","width":20.035606747195718,"height":4831.66751893769,"seed":804365494,"groupIds":[],"strokeSharpness":"sharp","boundElementIds":[]},{"type":"rectangle","version":493,"versionNonce":40778321,"isDeleted":false,"id":"TpLw0leWznymQSY1krf2_","fillStyle":"solid","strokeWidth":4,"strokeStyle":"solid","roughness":0,"opacity":100,"angle":1.5729330756797273,"x":5894.196183343625,"y":-3412.1756697274195,"strokeColor":"#495057","backgroundColor":"#4c6ef5","width":20.035606747195718,"height":4831.66751893769,"seed":1319746346,"groupIds":[],"strokeSharpness":"sharp","boundElementIds":[]},{"type":"text","version":121,"versionNonce":1315311423,"isDeleted":false,"id":"umHNVzs4a-RoHVWE79B9-","fillStyle":"solid","strokeWidth":4,"strokeStyle":"solid","roughness":0,"opacity":100,"angle":0,"x":3498.5473200505567,"y":-1403.773728440392,"strokeColor":"#364fc7","backgroundColor":"#fa5252","width":551.3333333333333,"height":288.1969696969696,"seed":1335539958,"groupIds":[],"strokeSharpness":"sharp","boundElementIds":[],"fontSize":225.54545454545442,"fontFamily":1,"text":"33%","baseline":203.19696969696957,"textAlign":"center","verticalAlign":"top"},{"type":"text","version":130,"versionNonce":1043646513,"isDeleted":false,"id":"P9lnng4alQa3lJRhNubId","fillStyle":"solid","strokeWidth":4,"strokeStyle":"solid","roughness":0,"opacity":100,"angle":0,"x":3455.2139867172227,"y":-853.7737284403918,"strokeColor":"#364fc7","backgroundColor":"#fa5252","width":551.3333333333333,"height":288.1969696969696,"seed":1458419702,"groupIds":[],"strokeSharpness":"sharp","boundElementIds":[],"fontSize":225.54545454545442,"fontFamily":1,"text":"33%","baseline":203.19696969696957,"textAlign":"center","verticalAlign":"top"}],"collabLinkForceLoadFlag":{"timestamp":1616121529071,"room":"4c1b6b67997d3192d497"},"excalidraw-collab":{"username":"Joao"},"i18nextLng":"en"}
```

### Sentry Error ID

d3a081faa5d5469590c156345cdade5e