Add regression coverage for “hidden pane item after dragging” bug #4112

Refs bad0504e1d2b43ac97665f29f1ee344d1d8734ba