Navigate to the Settings menu on your computer, then select Devices and locate the Mouse settings. From there, find the option that says "Scroll inactive windows when I hover over them" and switch it off. After making this adjustment, restart your computer. Following these steps should resolve the problem you're experiencing.