Fix tile pattern names inversion.