(XTmouse_position): Exit the loop if child == win.