Fixed problems with the actions menu