Missed a flip in applying the transformation.