Inspect the layers
Track the distance between two stable landmarks in addition to the box width. Compare the upright and tilted frames with the same display transform.
Calculate whether the larger box follows a tilt while landmark spacing stays similar. Exclude perspective changes and genuine head movement toward the camera.
Controlled edge example
A 40-by-70 rectangle tilted by 30 degrees has an axis-aligned width of about 70 pixels. Its original side lengths remain 40 and 70.
Which part of the composite to repair
Estimate rotation and scale separately when tilt drives the box change. Use the projected feature spacing and surrounding body position to judge a natural fit.