Fixed bug causing the scrolling horizontally while dragging to break

Merged mattj13 requested to merge no-drag-scrolling-bug into release-1.1.0

Merge request reports