Fix drag & drop in component diagram