Prevent cache clash for textinput width between password = True/False.
Merge pull request #2302 from matham/text-pass

Prevent cache clash for textinput width between password = True/False.