Fix drag and drop for image blocks