feat(mixins.highlight) Fixes logic to calculate nearest datapoint on hover