Fixed NullRef whilst loading the action menu.