Thank you very much for the feedback.
We have checked this issue and so far we have never experienced a mouse freeze on primary machine upon spacedesk connect.
Maybe disabling all remote input on your viewer app might help.
Please try to disable it in your Android Viewer app settings -> Input devices, just uncheck the touchscreen and pen input box before connecting.
Then let us know your result.