Use P2D as the offscreen renderer, and make innerMatrix and Matrix as
PMatrix2D