Fix wrong chart tooltip position in Firefox