Fixing loop (resolving immune enemies)