fix snap positioning
snap when adding an action with snap to grid on
enhancements to snapping algorithm