Fix excessive speed bug and despawning bug upon restarts.