Fix the bug if a Ship has been added.