Fixed a bug where the debug window would appear when rebinding the show/hide debug key.