Implementing drift check lost the fixation cross routine

Hi all,

I was running a task with a single calibration on the eye tracker without a chin rest, and I was told I should add calibration routines in between. Later, someone from EyeLink told me to use a drift check at the beginning of each trial instead. I implemented this, but now my fixation cross is not displaying during the drift check (or after) although it is built into my trial. So I cannot also drift check with nothing to fixate on.

The code is here.

I am not sure how to fix this, anyone have any ideas?