fix offset

when the scrollX/Y is changed during drag (e.g. by the mousewheel) the offset wasn't correct