offsetX/Y is always undefined in FF, so fixed that.