Fix issue with mouse position when page is scrolled