Don't draw if there is no window