I have a key bind like this:
bind y "chat.say /perms"
Sometimes I accidentally press y twice, or press y expecting it to toggle the GUI. If you use the /perms command with the GUI open, the window becomes less transparent each time. Closing the GUI with the "Close" button removes all the text and buttons, but does not remove the black and grey GUI window. Then you are stuck with a broken window on your screen which prevents you form using the in-game chat and obscures your view until you rejoin the server.