event.clientX/Y doesn't calculate the dock views offset

Hi,
The return value of the event.clientX/Y doesn’t calculate the offset which is caused by dock views.
For example, clicking the top left corner of the primary view, doesn’t return 0,0 and instead returns dockLeft width and dockTop.height