Fix polygon orientation.