fix for firing map click and marker click events