Polygons used PolyLine::render() to render the path. However since 7bb8ca1e76, the PolyLine path is constrained (for automation lanes), and closed shaped polygons were not always completely redrawn.
7bb8ca1e76