fix RTF background colouring and make it compatible with Mac (IDEA-67767)
EA-52671 - assert: AbstractMappingStrategy.processFoldRegion