fix syntax of the getTextColor function on the GFX library