Fix image upload field not getting reset properly.