Fix incorrectly changing the default graph, used for MATLAB implicit factor creation, when using nested graphs