Fixed the tooltip so that it renders correctly in Firefox (by using d3.event to get the event information)