That’s like saying “A mask can’t hide your face, because someone might see you while you’re putting the mask on”.
I mean, it’s strictly true that you can always screw up or miss out on a critical step in any task, but your line of reasoning is basically declaring that masks won’t ever hide your face. It’s far too absolute and pedantic.
People in masks frequently do think that a mask will enable them to commit a crime without fear of being caught, and then they are later caught via other evidence.