That XA is poplular but is a camera not built to the most precise standards. The lens is good, but learn to earmark inaccuracies such as this. (Also, the shutter button is notorious for 'failing' sometimes.) Each time you take a picture (mostly close up is when the inaccuracy will manifest) allow for this. Place the camera on a tripod and shoot something close up with clearly marked borders. Then inspect the negative and see just how much you are off. From then on, make the manual adjustment.
When you build for mass market and create within the restricted parameters allowed by tiny, 'precise' instruments, sometimes you have to allow for that. - David Lyga