Tooltip positioning  in firefox for the chart. offsetElement,offsetTop give a unrealistic value, so we have to change the calculation