We were going down this branch for all closed paths, but we should only be taking it for closed paths that are also rectangles.
We were going down this branch for all closed paths, but we should only be taking it for closed paths that are also rectangles.