Set currentTarget on synthetic events

Fixes #658, fixes #659.