check to see if the event target is the same as the currentTarget