There is a setting that can adjust this which can be found on the toolbar.

Open the toolbar while playing a puzzle.

Tap the right facing arrow.

Tap "..." on the right side

Switch between Default Piece Snapping/Stronger Piece snapping/Weaker piece snapping based on your preference.