Fix https://github.com/Linkurious/sigma.js/issues/2