don't waste time rendering when our window is not active