stop rendering if the window is inactive