The bug seems to be that _FONT _LOADFONT("cour.ttf", 16, "monospace") needs to be completed before the sub containing more font calls is called. Actually, just adding a PRINT statement after that statement, with no delay, will make the program work, too. In QB64, if the _LOADFONT statement could be placed into a loop and not exited until the font was loaded, that should fix the problem.
BTW, CLEAR is as buggy as RUN with the STATIC statement.
Pete