Add to @dnahodil's comment on strange behavior in ActiveLayersPanel remove event.