Not opening in fullscreen

PsychoPy version (e.g. 2023.2.3):

I am having issues with at the very start of my experiment. I have a code route in a routine at the start of my experiment. It is set to “before experiment” as it imports an API for an eye tracker and initializes the eye tracker itself.
The issue I am having is that the “getting screen/framerate data” screen is in fullscreen, but immediately after the windows taskbar appears at the bottom of the screen. I am required to click on psychopy to make the task bar disappear. The mouse is also visible despite having the “have mouse visible” option being turned off. I was able to fix that by just adding “win.mouseVisible = False”.
This does not happen with other experiments that do not include the custom code component. Also, yes the fullscreen thing is clicked as well.
I tried looking through the python code to find the line that starts the experiment in fullscreen, so I can just add that in in the same code component, but I am unable to find it.
Anyone know what the specific command is to make sure the experiment opens in fullscreen after the “Getting screen info” screen appears?

This sounds like the same issue with Before Experiment code to skip the expInfo dialogue box

Could you try importing the API etc in Begin Experiment instead of Before?