Fixed d3 glitch