demo/snap: fix grid drawing without relative