fixed matrixstack ctor