Pause update and render on window blur