Bluetooth and mouse pointer

Hello all,

Every time I connect a Bluetooth device (example: phones) to Ubuntu Budgie 22.04, everything works normally, but, when I disconnect the device, the mouse pointer disappears and I have to restart the computer to work.

Is this a bug, or is it something else? (configurations, drivers, or other things)