Fixed the color issue on text item when modifying the text size