2d.path.rect.nonfinite
rect() with Infinity/NaN is ignored