From time to time in my guest machine (Xubuntu 22.00) mouse clicks stop working properly specially when I'm using the Intelij IDEA IDE. Sometimes also happen with the default Firefox Browser that comes with the system.
In order to solve the problem you can simply run the command bellow:
kill $(ps -aux | grep "VBoxClient --draganddrop" | awk '{print $2}')