fixes problem with input control for picture file not being inside the form element