Fix content of form disappearing after submitting form with errors