Fix issues with tile borders