Changed setting of originalmatrix to be compatible with PGraphics objects

This fixes an issue where beginHUD wouldn't work properly on PGraphics objects sized differently than the PApplet.