Don't crash in environments without window
0.6.1