corrects the checked menu for scripting and console widgets