Remove unnecessary PGraphics