Fixes a localization bug on duplicating polygon maps