Fix using screen coordinates when handling WM_SETCURSOR.