Correct ID on marker click.

Otherwise input$map_marker_click won't work, since `this.id` is undefined in the closure.