iPhone Mirroring does not work with remote desktop?

Hi there, I have an iOS 18 device and a macOS 15 MacBook, both of which were upgraded to beta 2 yesterday. I tried the iPhone Mirroring at home, and it worked.

Today, I left my iPhone at home and connected to my MacBook from the office via remote desktop (aka VNC). I could mirror my iPhone but could not do anything with it, like swipe the iPhone screen or click to open an app.

So I wonder whether this is a bug or a feature. I really hope this is a bug that will be fixed in the future.

iPhone Mirroring does not work with remote desktop?
 
 
Q