made enemies only spawn when on screen