[powerdebug 05/23] fix segfault when the default window is not the clock