When you toggle with the ‘show in menu’ button in the Script Workspace your folders are locked out.
If shown you will no longer be able to open the folders on the top level.
I wasn't able to reproduce the issue that you stated in your post. Do you happen to have a video of this happening?
Sorry for the delay. Have been on vacation…
I have a screen recording, it cannot be uploaded here.
Retrieving data ...