Avoid storing a copy of layer properties

This fixes the tile flickering, because we would update
the copy but not propogate it back up to the caller.