Fix ansi color coordination

This change is active in client r7, and should fix the strange colors.