Add control for snap-to-grid