Fix sigma.js/issues/383