Click anywhere in the gray rect. to move A to the place you clicked. This is a native event.

B
A
This button should a click in the gray rectangle that would place A in B.

There seems to be a problem in IE9 with e.pageX, e.pageY in an event that receives a simulated event...