Creating a draggable button goes wrong. Possible bug?

Ok, for those who will struggle with this - there is an easy workaround

In your button make this