fixes #7114: Bad color in 8-bits recorded RDP session.