The boss should now spawn properly when either: 1. All enemies in the wave are destroyed 2. All enemies have been killed (including those that went offscreen)