Fixed snapping issue with collections

Fixes #469