Fixed problem with tile rendering and added border tiles.