Fixed issue that second graph inheriting options of first graph