Fixed title bar text disappearing bug