Added disabling elements from gestures and linker menus when disabling it from palette