Although I don't have a reproducible sequence, I have hit this many times. It seems to happen when I am opening a particular saved layout that has some Auto Hidden tools on the right side of the main window and then I move the mouse into a tool and click to change the focus while that layout is being restored.