Having problems with my engravings being off from what is shown in software

Hi, I’m having significant trouble getting my camera alignment to work. Did a lense and camera calibration and all good. I even drew a box in the centre circle of the target test and it came out good. But when to do an engraving on oak, in the y direction it looked good, but in the x direction it was engraving off the wood by about 15mm, and in the software, the image was clearly 20mm in from the edge. Why such a big error? What am I doing wrong? Don’t like wasting wood. Any help is greatly appreciated.