use interal clientX/Y instead of pageX/Y and calculate center clientX/Y and pageX/Y