Fix #11126 (Make up/down buttons work also for layer tree nodes)