Added lastLocation teleport on event leave