Fix empty d3.event