Added missing logic to ship placement.