Fixed AffineTransform bugs