Fix teleport mistake

Mistakenly forgot to rename one teleport variable. This should fix it.