Added offscreen render flag