use ClientX/Y which is more portable. (@kcwu)
cleanup extra svg element