Per baseball official rule 6.08(b), a batter becomes a baserunner and is awarded first base when he or his equipment (except for his bat):
is touched by a pitched ball outside of the strike zone,
and he attempts to avoid it (or had no opportunity to avoid it),
Yeah, problem is, it wasn't within the rules. The umpires don't enforce it, that doesn't make it ok.