Fix snapping