7517: fix OnMouseDown,GetElementGlobalLocation