doors now spawn in correct positions and teleport player to correct position