Fix bug with weird-sized tileset images and don't create sprites for empty spots.