Fixed short flashing while activating the log viewer window