Fix tinting values for rich text