Cannot read properties of undefined (reading 'isReadonly')
Hey, I ran into an error while using tldraw:

```js
TypeError: Cannot read properties of undefined (reading 'isReadonly')
    at h.history.createCommand.do.updates (<anonymous>:21:25099)
    at o (<anonymous>:18:62690)
    at <anonymous>:18:62666
    at <anonymous>:18:63357
    at _n (<anonymous>:10:67730)
    at nS.batch (<anonymous>:18:63290)
    at fe.o [as _updateShapes] (<anonymous>:18:62656)
    at fe.updateShapes (<anonymous>:21:87119)
    at S (<anonymous>:21:36359)
    at y (<anonymous>:21:36717)
```

My browser: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36