don't crash when the tileset can not be found

fixes #3033