Take scrollbar positions into account when dragging.

Dragging an an object when the scroll-bars are not at their default position causes the object to move up and/or left a number of pixels based on the positions of the scroll-bars. Taking scrollX and scrollY into account when an object is being dragged will fix this.