Fixed permute-related error (permute was creating [X, Y, Z] coordinates but StackAligner was receiving them as [Y, X, Z]. Resulted in black frames in StackAligner because it was looking for spiny regions outside of stack bounds).
Authored by: kellgeor 2026-03-11
Parent: [r1919]
Child: [r1921]