Technically yes Mcd but in fact if the shirt pulling starts outside the box that is the point an offence is committed and the ref should blow his whistle, thus halting play, however they dont get to blow it for a second or 2 so by that time the player is inside the box and they can and should indeed give the penalty at that point, hence that explanation of the rule.