Hm make sure there is a window...