Repository: excalidraw
Issue: TypeError "a is undefined" in production version
Labels: bug

TypeError "a is undefined" in production version
### Scene content

```
{"excalidraw":[{"id":"RSrswM0Nsru4O3DIycwr4","type":"rectangle","x":1197.3636363636374,"y":350.5454545454543,"width":23.090909090909012,"height":247.72727272727272,"angle":0,"strokeColor":"#000000","backgroundColor":"#bf9ea8","fillStyle":"solid","strokeWidth":1,"strokeStyle":"solid","roughness":0,"opacity":100,"seed":1014866942,"version":101,"versionNonce":436515497,"isDeleted":false,"groupIds":[]},{"id":"zC3nJLfOyHgw1l_bhG0DD","type":"rectangle","x":57.1935483870966,"y":-195.90322580645147,"width":2496.8709677419356,"height":1407.3548387096776,"angle":0,"strokeColor":"#000000","backgroundColor":"transparent","fillStyle":"hachure","strokeWidth":1,"strokeStyle":"solid","roughness":1,"opacity":100,"seed":476861886,"version":247,"versionNonce":738837694,"isDeleted":false,"groupIds":[]},{"id":"5q5J-gB-nKn73XqjhlxV-","type":"diamond","x":1266.907235621526,"y":411.0037105751381,"width":78.18181818181829,"height":110.9090909090909,"angle":0,"strokeColor":"#000000","backgroundColor":"#000000","fillStyle":"cross-hatch","strokeWidth":1,"strokeStyle":"solid","roughness":0,"opacity":100,"seed":573471998,"version":965,"versionNonce":281806818,"isDeleted":false,"groupIds":[]},{"id":"AV2cGDgArQMwZrR-f-cIs","type":"rectangle","x":1102.1956260634397,"y":515.6963813915872,"width":70.56256713211614,"height":20.3477443609022,"angle":0,"strokeColor":"#000000","backgroundColor":"#bf9ea8","fillStyle":"solid","strokeWidth":1,"strokeStyle":"solid","roughness":0,"opacity":100,"seed":11039906,"version":617,"versionNonce":354599559,"isDeleted":false,"groupIds":[]},{"id":"FAj2Aa6cBVATt_MSfLFy1","type":"rectangle","x":1057,"y":457.0624320261031,"width":101.74962330254682,"height":13.93756797389688,"angle":0,"strokeColor":"#000000","backgroundColor":"#40c057","fillStyle":"solid","strokeWidth":1,"strokeStyle":"solid","roughness":0,"opacity":100,"seed":713358178,"version":606,"versionNonce":692495542,"isDeleted":false,"groupIds":[]},{"id":"-EtgadXsLWD-hsA0AWfrY","type":"rectangle","x":883,"y":388,"width":73,"height":73,"angle":0,"strokeColor":"#000000","backgroundColor":"#228be6","fillStyle":"solid","strokeWidth":4,"roughness":0,"opacity":100,"seed":1427189302,"version":266,"versionNonce":2015479146,"isDeleted":false},{"id":"1h53bY-FFiMz7opoq-BoM","type":"rectangle","x":882.5,"y":245.5,"width":73,"height":73,"angle":0,"strokeColor":"#000000","backgroundColor":"#fa5252","fillStyle":"solid","strokeWidth":4,"roughness":0,"opacity":100,"seed":1865249386,"version":296,"versionNonce":1387058422,"isDeleted":false},{"id":"DpaElZBjD75KMbfyJbSxE","type":"ellipse","x":1048,"y":297,"width":21,"height":59,"angle":0,"strokeColor":"#000000","backgroundColor":"#000000","fillStyle":"solid","strokeWidth":4,"roughness":0,"opacity":100,"seed":1578247606,"version":57,"versionNonce":1546668470,"isDeleted":false},{"id":"MChygxa7Bw8QhdYy41HF1","type":"rectangle","x":1010.1139698441657,"y":517.7291997947076,"width":70.56256713211614,"height":20.3477443609022,"angle":0,"strokeColor":"#000000","backgroundColor":"#ced4da","fillStyle":"solid","strokeWidth":1,"strokeStyle":"solid","roughness":0,"opacity":100,"seed":2106603495,"version":640,"versionNonce":215291881,"isDeleted":false,"groupIds":[]}],"excalidraw-state":{"elementType":"selection","elementLocked":false,"exportBackground":true,"shouldAddWatermark":false,"currentItemStrokeColor":"#000000","currentItemBackgroundColor":"#ced4da","currentItemFillStyle":"hachure","currentItemStrokeWidth":1,"currentItemStrokeStyle":"solid","currentItemRoughness":1,"currentItemOpacity":100,"currentItemFontSize":20,"currentItemFontFamily":1,"currentItemTextAlign":"left","viewBackgroundColor":"#ffffff","scrollX":-177,"scrollY":-1,"cursorX":0,"cursorY":0,"cursorButton":"up","scrolledOutside":false,"name":"Untitled-2020-06-04-1558","username":"Johannes","zoom":1.42,"openMenu":null,"lastPointerDownWith":"mouse","selectedElementIds":{"MChygxa7Bw8QhdYy41HF1":true,"A8Ec64ZeUodakw0TaOpy_":true,"4I2mp_tnHdI7HTxWTlTD-":true},"previousSelectedElementIds":{"MChygxa7Bw8QhdYy41HF1":true,"A8Ec64ZeUodakw0TaOpy_":true},"shouldCacheIgnoreZoom":false,"zenModeEnabled":false,"editingGroupId":null,"selectedGroupIds":{}},"excalidraw-collab":{"username":"Johannes"},"i18nextLng":"en"}
```

### Sentry Error ID

1ee2e5a6bb60493b9186a2adda80cf15