[Bug 48088] Wrong color mapping with client-side graphics on 256-color X server