[Map] Improved object detection in 'sendEvent()'.