Fixed respawn bug