Fix resetting LoDN cache when changing visibility of the layer
Ideally, we need to be able update both lod0 and lodN planes
without resetting them. That would make visibility switches on
huge (10k+) canvasses much faster. But right now we don't have
a framework for it.
Fixes T6652