How to replicate character rotation controlled by mouse position?

Here i enabled Network Emulation with 50 in/out latency, you can see the problem