For anyone encountering this issue today: To avoid this problem, use a calibration pattern with an even number of rows and an odd number of columns, or vice versa. This asymmetry helps disambiguate the orientation of the pattern during detection.