Why does name field change size when making it required?