Problem with mouse while installing Rocky 9.4 as VirtualBox VM on macOS 14.4.1

I’m having a problem installing Rocky 9.4 on VirtualBox running on macOS 14.4.1: the mouse doesn’t seem to work at all. When I click anywhere in the VM window, the mouse cursor disappears, and it doesn’t seem to have any effect at all. If I use the VB hot key, I can make the mouse cursor reappear, but if I click it again, same problem. It’s extremely difficult to navigate the installation without a mouse – maybe impossible.

I’ve tried this on several different versions of VirtualBox (currently 7.0.18), and the problem is the same on each. In the meanwhile, my old Ubuntu and Mint VMs are as happy as ever.

This is my first experience with Rocky, so I don’t know whether the same problem existed for other versions.