Please choose Help > Report Bug while pressing the Alt modifier key and send the result to cgrunenberg - at - devon-technologies.com - thanks! Closing the window and opening a new one should also be sufficient to fix this.
Thanks for reporting this! What kind of document did you display and which macOS version do you use? E.g. a PDF document while the Table of Contents inspector was visible?