Fixed text rendering issue on document tabs.