Avoid infinite recursion in custom entity collision callbacks.