Fixed infinite event recursion.