Fix texture creation for the tile buffers