potential fix for FS#803 - Pan and Zoom with touch pad are hard to use (wrong buffer handling)