If the “Karakuri” monster is flipped face-down by "Book of Moon" before this card resolves, you still resolve the effect normally. The “Karakuri” monster will be changed to face-up Attack Position. 
You add a monster to your hand and change the target monster’s battle position at the same time. 
If you can’t add a monster to your hand, you don’t change the battle position of the target monster. 
If you can’t change the battle position of the target monster, you still add a monster to your hand. This includes if the target monster is no longer on the field.