Fixed an NPE when creating a new ability and trying to edit it's actioncollection