fixed the window icon not displaying properly on some systems