updated to reflect polygon creation in recent versions of Tiled