Modify the path shader to use mask width constant