Display of debug windows fixed