There are a few other gotchas to filled rendering that need to be addressed. The biggest being that when you are creating a shape with lines, but on a layer set to fill, it doesn’t draw the shape at all unless it’s closed. The code to determine whether a shape is closed or not is complicated, so I need to cache that value in the shapes and update it when they change, like I do with some others.