XFORM matrix and rotation bug