Corrected check for flashing the window