If a hand teleporter portal is forced to spawn on top of you (meaning you're completely encased in impassible material) you will automatically teleport with it.
Merge pull request #2928 from Incoming5643/sadstuckinwall

No more getting stuck in the wall