draft: Fix image uploading, pasting and dropping