graph.js: fix an issue where the labels would not show up