JAL-2778 tightened up use of resetAlignmentDims