fixed issue with flashing infowindow