Enemy removal bug

Fixed the enemy removal bug and made collision detection more performant.