Fix hiding form elements