Fix mouse event positions in FireFox.