Added painting of tiles