Disable autoscrolling

When you middle click and drag, the webpage scrolls. I’d like a setting to disable this. Firefox has one.