Image thumbnail is broken on chat messages when using Cloudflare R2

Did you ever find a resolution to this? I also have this issue on my own instance.