Help about ibus-rime setup

Hey guys, I meet a trouble when I set ibus-rime with wubi input method. I use gnome46 with wayland, and it will have such a problem when I type something in Emacs and Firefox. Here is the configuration and capture of the problem. The picture about the problem Thank you all.

How did you configure ibus and the compositor? Please share more about this.

Thank you for your reply, when I use wayland, it will have such a problem. But when I switch to xorg, the problem disappears. The two picture are my configuration about ibus.
截图 2024-08-10 19-14-37