I have this bug too but it also affected the keyboard, when typing every few seconds some key presses would not register.
I installed ibus-gtk as recommended above and the problem has gone.
I have this bug too but it also affected the keyboard, when typing every few seconds some key presses would not register.
I installed ibus-gtk as recommended above and the problem has gone.