Fix dropzone event callback