I need to click the poi icon several times and I get a poiclick event after a random number of retries. The code is:

Code:
window.map = new nokia.mh5.components.Map({
            infoBubble: {
                content: ["title"],
                listeners: {
                    click: function () {
                        //window.SelectedPlaceID = poi.data.tag.toString();
                        //$("#map_marker_popup" ).popup( "open" );
                    }
                }
            },
            //tracking: false,
            listeners: {
                poiclick: function (e) {
                    var poi = e.data[0];
                    SelectedPlaceID = poi.data.tag.toString();
                    $("#map_marker_popup" ).popup( "open" );
                },
                ready: function () {
                    guide_obj.map_control.showPois(guide_obj.places.placesList,true);
                      initSearch();
                }
            }
        });
Any ideas?
I'm using JQuery Mobile, and I don't know if that is causing it or not.

Thanks
Tom