Fixed a spawn target issue