When the opaque layer was populated with only emissive material, no raytracing was used for it and no feedback buffer was needed. Thus, the refraction layer had nothing to raytrace against. This fixes it by forcing the use of feedback buffer in this corner case. Pull Request: https://projects.blender.org/blender/blender/pulls/127771