Right Click Handler is not working properly

Hi,

I have attached an event with onRightClick. Everything is working fine expect for the fact that it is not reading mouse pointer location correctly. The box on right click appears at a distance (some 300 px approx) from the tip of mouse pointer.

Unfortunately the issuer cannot be reconstrusted. Please provide any kind of sample or demo link to reconstruct an issue.