fixed snapTo wall when adding wall

git seems to have problems with line endings ....