Fix TextField to set its initial contents properly.