Debug: actually hide debug panel when debug is disabled.