Fixed Error #2094: Event dispatch recursion overflow.