Other people have mentioned that Sneak Attack may be calculating distance using the center of hitboxes. This would mean bear form (a big hitbox) could cause this bug, since the center of its hitbox is too far even if your bear is right next to them