When you correlate or convolve two images, the result is bigger because you will still have overlap even if only part of the images overlap, like one image is mostly outside the other image and only the right column of the left image overlap the left column of the right image.
By the way, I've attached my demo on template finding using normxcorr2.