Abort wheel delta measurement when scrolling explicitly

Issue #2537