Thanks for the comment! There's a reason enemies despawn, however to explain it would take a bit of time. Suffice to say it was necessary to prevent enemies from becoming invulnerable to damage from the player.
Best of luck with your game!