[layertree] update insertion point to layer tree when appropriate