Without seeing the footage and seeing the track it's hard to tell.
I have experienced similar situations in the past, and usually this was when the size of the part that I tracked and the thing I put on top of it didn't quite match up.
Since you're saying you set the points to the whole screen it could be a part of it.
Just for the fun of it: try using a solid color background tool as the foreground input and then set the corner pin to something very close to the part you tracked and see if this makes a difference.
** update **
Upon reading your post again, it seems that you pipe your mask straight into the foreground input.
This will indeed cause trouble most likely, since masks aren't really images in Fusion as such.
The foreground input is meant for actual images. You can mask those images with a polyline of course, but feeding a mask into an image input is seldom recommended.