[JBIDE-18704] using transparency for styled text in MacOS only
[JBIDE-18726] fix test compilation errors