graph.js: remove unneeded context saving