Fixed getting mouse position on click. Is different on FireFox