ActivityMap.region override - clicked element value is 0
Hello,
We have set up Adobe Analytics with Activity Map through Adobe Launch and overriding the Activity Map region using the following:

I found the above code example from ActivityMap.region | Adobe Analytics and it works as expected for most of the links on our website. However, for some links/buttons, the value of clickedElement appears to be 0 instead of the actual HTML DOM element object.
Screenshot:

Please help me understand what the reason could be. Any help would be highly appreciated.
Regards,
Saif