Fix event handling to call the required callback