Fixed offscreen rendering.