Assign properly event.data for composition events