Fix polygon module.