Add view_context as a parameter when calling event handler

To use view helper functions like `image_path` or `url_for` in class method, the `view_context` has to
be passed to the event handler.