Calling to setColor and setStroke in certain sections of my code does not affect the state of the graphics object. I do not create any new graphics objects at any point. The following four lines creates the output below.
I set the color to red before calling drawString. debugFillColor is black.
I am not aware of any function that would cause that.