On GNU/Linux run this command, it will fix it for all the GTK based desktops, such as XFCE, Gnome and Mate:
gsettings set org.gnome.desktop.interface overlay-scrolling false
Under Mac you might have a similar Cocoa setting or whatever is called (nsproperties?) with "defaults write".