What kind of electric fencing?They're unable to fly over the electric fencing and there's no small spaces for them to squeeze out from.
Some pics might help.
This might be part of the problem.I can't lock them up in the coop yard as they will attack the younger hens that free range with them. They haven't gotten use to them yet but will allow them to sleep in the coop at night.
Knowing more about...
your flock size(numbers, ages, genders),
your coop and run(size in feet by feet with pics).
might help too.