fix tip position when document is scrolled in firefox