Fix event target variables.