Fix DOM mouse event coordinates