I faced the same problem long back ago but I was not running vm and then I changed the mouse and it started working normally.