[AGAIN] Duplicating components doesnt work

The bug is back.

This is delaying my projects, as I have to recreate all the components from scratch.

Another bug I found occurs when clicking this button.