Fixed hidden window flash alert bug