Passed in `event` variable to `eventHandler`

Fixes Firefox bug