The shape layer jumps because it is not in the same 3D position that the Track Solid 1 layer. The proper workflow would be to make sure that the Track solid is perfectly attached to the screen in the shot and that the rotation and orientation is correct. The rotation of the Track 1 solid is a little off and that tells me that you might not have picked the right tracking markers when you created the solid. The only thing you should need to adjust is the Z rotation and probably the horizontal and vertical position using the Axis handles in the Comp Panel with the selection tool is set to Local Axis mode. If the track is perfect you should be able to perfectly line up the horizontal and vertical edges of the Track Solid 1 rectangle with the horizontal and vertical edges of the screen because the screen is a perfect rectangle.
When Track Solid 1 is perfectly lined up with the screen by sizing or masking with the Rectangle Mask tool, not disproportionately scaling X and Y, it is time to add a new shape layer using the Layer/New/Shape Layer menu. After you add the new shape layer 3D, hold down the Shift key and Parent it to the Track Solid 1. This will snap the new Shape layer to Track 1 Solid and perfectly match position rotation and orientation.
When that is done all should have to do is select the rectangle tool, make a guess at the stroke width, then click in the upper left corner of the tracked screen and drag to the bottom right corner. Finetuning the stroke width would be the last step.
I'm not sure what the design goal is for this shot, but if all you are doing is replacing the screen and adding a frame I would probably use Corner Pin tracking. It will render in about half the time and in most cases, it is easier to set up, especially if there is any lens distortion in your original footage.