Fix several bugs in presentation of Gecko form fields