fixed InAppBrowser handler for when the <a> is wrapping a <img>