Fix some minor NPEs in the teleport delay task