It's because of the way the NPC is placed. Basically, they just place tiles underneath and my guess is that they can not place tiles on the end as they may show, hence they leave it blank, giving you the ability to walk.