Fixed menucommand visibility