Fixed ship cores sometimes breaking some weapons.