added cosimo's work fixing the info window click issue