Fix snap to surface.
Merge pull request #1 from ravencrow-/master

Fix snap to surface.