[Bug]: Rich Text Disappears if React StrictMode is enabled
### What happened?

If React StrictMode is enabled and you're in a development environment, editing Rich Text causes the text to disappear.

### How can we reproduce the bug?

1. In a React development environment enable StrictMode.
2. Add text to the canvas
3. Click twice on the text to enter Edit mode
4. Note the text disappears and additional keystrokes don't do anything

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

_No response_

### Where did this happen?

The developer package

### Contact Details

_No response_

### Code of Conduct

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