endWithReset(stackId) {
    this.end();
    RenderPass.pop_from_reset_stack(stackId);
  }
Resets projection and modelview matrices to the previous matrices, i.e. position 0, 0 is now 0, 0 in screen space, not render pass space.
@param [stackId = 0] id of stack this should reset from (use this to organize redirected drawing by id)