Stimulus being drawn behind stimulus with less depth

Hello all,
I am running into a bit of a bizarre problem to me. I have two stimuli that are drawn on the screen, one on top of the other (stim A on top, stim B on bottom). They have different depth values set when instantiated such that stim A is greater than stim B, however in every instance stim B is on top of stim A, totally covering it. I am certain that the stim A is being drawn as removing stim B shows stim A. I’m really at a loss for how to fix this problem. Any help would be appreciated.

Top-to-bottom in PsychoPy is the opposite way round to Photoshop and that sort of thing - the stimulus at the top is the one that’s drawn first, meaning that the stimuli below it are drawn after, so on top of, it. If you swap the order around then stimA should be on top

What do you mean “at the top”? I’ve both literally put the code that draws stim B before the code that draws stim A, as well as reoarganized the depths of the stimuli so that stim A had less than stim B, and neither of these fixed my problem.

EDIT: Nvm, I was editing a duplicate of the file so no changes were being shown. This fixed my problem. Thanks!