[UNET] Raycast Update lag when Client connect

Hello everyone, I have a problem, when play with 2 windows on my pc, in the video first one you will see how raycast Update laggy when client connected,and not laggy when client disconnected.
How to solve this problem any ideas?

p.s Raycasting doing on client.

Video on YouTube

Solved by ray to screen space, not to mouse Position.