Rough implementation of per-axis snapping