Creating a draggable button goes wrong. Possible bug?

He creates a dragdrop and I can do that too
If you will use his method you wont be able to just click on those inventory items