Graphics2D, Graphics3D error modified.