Fix a bug where the imageUpload directive without a drop zone wasn't able to upload a file