Added in beginning of rendering loop.