I cannot reproduce this consistently but every now and then (but way too often), when using these shortcuts to toggle the tabs on and off, one of the tabs will be parked next to the other instead of on top of each other.
This happens to me as well, without those macros - I normally have something like Properties and Display docked on top right, and Layers docked below. Periodically I get everything in one set of tabs up top plus the command help (which I didn’t ask for). Sometimes when this happens I get the Layers box floating instead of docked up top. This almost always happens when the WIP crashes, but it happens at other times too. Have to say this is pretty much why I’m not using the WIP currently.