FIx a crash with Matrix2d in Canvas::initTryAlignments().