[JB01] Add offscreen/onscreen cbs and tests.