This issue is caused by having conflicting mouse drivers. To fix this issue, follow these steps:
Uninstall any mouse software (Razer Synapse, Logitech G Hub, Corsair iCUE, etc)
Head to Device Manager.

Select the "Mice and other pointing devices" section.

Uninstall as many inactive / old devices as possible.

You must restart your computer.