fixed an issue with event handling when events were declared in a fragment  added to the DOM in a second moment