I think you will find a possibility to improve it, maybe with a query whether lava is in 10 fields around it.
a other problem was this.
i run and fall down in a canyon
1. my position after falling down
2. position after pressing 3 in sanctum
3. position after pressing multiple E
my solution was go offline ^^ but this problem was on the testing world, now I play on the live world because the new patch is live.