I once was stuck inside the ship design screen.
I could not exit it (done had no effect), even though most other buttons did work : I was able to pass a turn in that state, or open other screens, but in the latter case I fell back on the ship design screen when closing them.
I could not reproduce this.