Disable axis menu when axis cannot be created