Updated publish of the EventSystem to correctly iterate the results of getComponents