devicewindow fix