Bug fix for line chart tooltip