Run and provide x, y, w, h of the game window:
x and y should be of the top left corner of the red border as shown below:
Use a tool like ShareX to get the coordinates easily
$ go run main.go 630 230 640 640
The source code for this can be found on GitHub.