This fixes (at least) starposts re-triggering after being purged during transition if the player was still touching it.
Before:
After: