/src/main/java/org/htmlunit/html/HtmlImage.java
if ( y >= 0) {
if ( lastClickY_ >= 0 ) {
if (event instanceof MouseEvent) { final MouseEvent mouseEvent = (MouseEvent) event; final HTMLElement scriptableObject = getScriptableObject(); if (lastClickX_ >= 0) { mouseEvent.setClientX(scriptableObject.getPosX() + lastClickX_); } <extra_id_0> mouseEvent.setClientY(scriptableObject.getPosX() + lastClickY_); } } return super.fireEvent(event); } }