fixed color change during password entry

thx to http://stackoverflow.com/questions/16489471