Image Processing error

After creating a small script to locate the backboard square and assign coordinates it, I cannot get the code functioning. I integrated it into the code and keep getting a repeated error repeated over and over:

ERROR <Code> -1074396154 occurred at
IMAQ Vision: The image is not large enough for the operation.

In the image below, i find it interesting that the image sample i used when writing the code is the same resolution as the image being processed. I have made sure that the control on the front panel of the Robot Main VI is on the right resolution, the maximum one, and have also tried all possible setting with no other result. Any help is greatly appreciated! Thanks in advance for any help!