The new foxes can get inside fenced areas by attacking the chickens inside of them, but they can't get out, if there's no chickens they can attack on the outside.
So they are trapped in the fence with no way out, they don't even try jumping out even though they techically are able to
Can't be tested in the latest snaphot because of MC-144623