Fix for non-browser after event.