Proper fix for dragging windows off top or left

adjusted viewport coordinates to absolute, could then detect drag off
left or top properly.