Additional check for hidden windows