LoggerWindow toggle button fix. Closes #3152.