Fix assertion (not a window)