add special case for image() with degenerate PGraphics (fixes #2208)