Area behind character not rendering

I have a array of spheres, however, depending of the Z location of the spheres they’re not rendering when in the background and close to the character’s model (see picture). I can’t find the cause of this behavior, is this a setting somewhere?

Cheers