Incorrectly referencing the event object

Bad variable name throws an error. Found while looking into https://github.com/GigaOM/legacy-pro/issues/4098