Fixed bugs where enemy would spawn inside the wall & the winning condition will not be triggered.