Fix for rectilinear infill failing in plates with new caching