Fix use of non existing ->getIO() function

Function not available on the Event type provided in this context, it is however available on the other event class.