Even with your new command changes, the command's owner would be the (terrain) tile, not the imagery layer.  Plus we're checking for the absence of a texture for the layer.

I think this test is pretty reasonable.  The only change I might suggest is to use the `forEachRenderedTile` function defined in this same file rather than the manual looping over the command list.