Fix scatter and scattergl hover on axes with period and adjust the unified hover position in respect to mean [#5836]