Fix support for polygons offset from container.

Note that this could be more efficient, but I'm sticking with simplicity
for now.