include offsetLeft and offsetTop in x,y calculation

If an element had been placed on the page using css (e.g. 'top: 50px;') then the element would end up offset from the cursor when dragging.