Fix polygon command.