pointer.x and pointer.y do not exist on FireFox.