GUI: crash on pointing at sample layer mover

If to point at the marked button of layer ---> crash.

Screenshot_from_2022-12-22_18-00-56