Fixed TextField password encoder

The displayAsPasswort property was not working if wordWrap was disabled.