Fixed error when no snappable objects where found