Added a new system that ensures players are teleported to correct locations.
When a player is teleported, a timer starts ticking. When the timer reaches zero, the game checks whether the player is near the original target position. If not, the player is teleported again.
This will prevent situations where players are sometimes teleported onto barrier blocks and such.