Bug in enemySpawnSystem fixed, Code optimized