The approach I have seen is to apply the cursor you want to the entire body using JS so even if your cursor momentarily escapes the element the wanted cursor is shown. You just need to make sure to revert back to the default cursor when the users stops dragging or the window loses focus.