[Bug]: Image creation broken with 3.10.2
### What happened?

Hi,
the image creation looks broken when updating to version `3.10.2`, no issues with `3.7.2` and `3.9.0`; this is how we are creating the image:

```
  const { blob } = await editor.toImage([...shapeIds], { format: 'webp', quality : 0.95, scale : 0.3 })
  return blob;
```

We are copying/pasting an example from [the Tldraw website](https://www.tldraw.com/r/y-PdGoTopiASsnVvezM8y?d=v-151.958.3206.1849.page), this one:

<img width="696" alt="Image" src="https://github.com/user-attachments/assets/2a5aa7cf-4c0b-42c9-80d7-5a607661f8bf" />

This is how the generated image looks like:

<img width="503" alt="Image" src="https://github.com/user-attachments/assets/1f3bbc1b-1494-470a-a1bc-b01cca650fa5" />

To me, it looks like something on your end, but I would be happy to investigate more if you can give any pointers.

Thank you,
Luca

### How can we reproduce the bug?

_No response_

### What browsers are you seeing the problem on?

_No response_

### Where did this happen?

The developer package

### Contact Details

luca@workera.ai

### Code of Conduct

- [x] I agree to follow this project's Code of Conduct