I thought I had some trouble with the event.client property when implementing the context menu. Sometimes the coordinate would be related to an unexpected html element. That's why I went through this getEventAbsolutePosition().
Please, test (manually) and make sure that this "trouble" went away.