Reset teleportDirection in loop over players

Fixes OpenMods/OpenBlocks#64