I've had this happen to me in the past. Are you using a Wacom graphics tablet? If you are check for the latest drivers. To clear the problem sometimes it was just a case of right and left clicking a few times on a blank area of the Windows desktop.