Fix image uploading in redactor