Fixes setTextColor function.