Fix an infowindow opening bug.