Sorting Layers Not Working with instantiated objects?

I am making a game, but the particle effects when instantiated are behind the background. The original effects are in front of the background, both in play and edit mode. The original and instantiated particle effects are both in the topmost layer, and the background is in the bottom layer. I searched all over the forums, and I couldn’t find a single thing to help me. Does someone know a way to fix this?

Is the prefab set to the layer it should be instantiated?

Yeah, it’s set to the topmost sorting layer.