Fix bug with tooltip overrides

When overriding the tooltip, the provided function was getting assigned into `tooltip` - the DOM element for the tooltip rather than `tooltip_` - the var that holds the tooltip function.