It's possible to blacklist entities within Picker Dollies to prevent teleportation, to prevent crashes like this.
Edit: Picker Dollies also includes a custom event for responding to its teleportation, though it requires handling the event properly rather than denying it.
I'm surprised there's no (official) event handler for teleportation. Looks like a good case to be made for adding it the API.
Edit2: API request submitted here- https://forums.factorio.com/viewtopic.php?f=28&t=78884