Currently if one expands the code and then attempts to copy/paste code out of it, the box will collapse on releasing the mouse button.