Fixing tooltip with d3.event.pageX