Fix for currentGraph on a different thread.