fix for writeCenter not using correct colors