Fix for event dispatch parameters.