How to override the auto-snap feature