Make sure event context is available before manipulating it