fix snap to grid (kills a bunch of ugly glitchiness, more may remain)