If you have a drag loop which then removes the control you are dragging, it could cause the PointToScreen calls to invert the y axis and report the wrong location. Now we fallback to the current event's window if one exists so we can properly translate the coordinates.
If you have a drag loop which then removes the control you are dragging, it could cause the PointToScreen calls to invert the y axis and report the wrong location. Now we fallback to the current event's window if one exists so we can properly translate the coordinates.