I've had this issue before on vmware workstation player and the literal ONLY solution that worked was switching to workstation pro and turning "Optimize mouse for games" to always and unchecking "Automatically grab and ungrab the mouse"