fixed bug with incorrectly initializing snapping in single-step mode