fix #1178 multiple issues when dragging within a parent container that is scrollable

I think the `!isAbsolute` is not necessary, because if `isAbsolute` is equal to false, then `position.left` is undefined