CTF flag fix and TH spawn fix