Fix the orientation setOptions in Menu.
Fix setOptions in ContextMenu, add some precautions in destroy.