fix collision detection

rectMode, fill, stroke were not set in PGraphics