Fixed text disappear when tab switch.