Debug window larger than project settings cause input touch position not fit with application position

Hello everyone, I’m developing a mobile game, setting display size width 720 px and height 1560px,
when I launch project build, the debug window is larger than display window.

the rect is I use draw_line msg to draw a rect from (0,0,0) to (720, 1560,0) the rect is right. and the match piece is in the right position.
when I try to process touch input event, the position of action is based on the window not the application display size. I can’t calculate the right touch position to move piece inside grid.