Take matrices into account in PathItem#getIntersections()