Opacity of Visual Stimuli not updating, but exiting full-screen updates them

Does anyone have any insight on this or have run into similar issues?

Here is a link to the code for the experiment if anyone is able to discern why the visual stimuli is not updating across trials unless I shift between full screen and non-full screen each trial: