Dragging object inside a dynamic panel prevents the object from hiding when switching active panel
I have a dynamic panel with two layers. Each layer contains a button to switch to the other layer.
The first layer also contains a rectangle, which can be dragged (using "on Drag", "Move", and "With cursor).
Switching layers works fine, but just until you drag the rectangle. Once the rectangle has been dragged, the rectangle does not disappear when switching to the second layer. It always stays on the screen.
Seems to be a bug?