pjs compat: PGraphics context hack