corrected PImage.setModified() so mx2 and my2 are width-1 and height-1,
respectively.