Fixing several problems with the handling of offsecreen surfaces
setting viewport before anything else in beginDraw()
Don't create ptexture unless is needed by a shader to read the previous
frame.
Merge branch 'master' of https://github.com/processing/processing.git