After using teamviewer on my ipad, when i get back on my pc my cursor starts going crazy

I go to the library and connect to my laptop using my iPad. After I come back from the library to use my laptop the cursor starts to go crazy when I am not on a text box or the cursor isn't the "loading" cursor, then it just disappears, and the only way to solve this is if I restart my pc. Is their a way that I can make it so that the cursor doesn't just disappear. 

Tagged: