Check if originalEvent is defined