Fix event delegation.