sometimes there's no target in the event :o

Fixes a bug we rarely see
Sometimes there is no target during a click event

I do not know how

cc @patrickdonovan