So to make this work at range, they need to arrange fictional circumstances somehow to defeat that. The usual way to do this with ranged attacks is to
- attack while unseen (usually in cover1), revealing their location,
- either have attacked while in cover, or move to break line of sight or into cover,
- hide now that they're somewhere that allows a Stealth check,
- move to a new location without that movement being seen, to make their location unknown again,
- then, attack from their new location, unseen.
Well then, do it the simple way: an enemy that has an ally of the rogue's adjacent to it can also be Sneak Attacked. That allows Sneak Attack every round with no need to fiddle with movement or hiding or seen/unseen variables. Just flank and shiv.
1. This post uses “cover” in the dictionary word's tactical sense, to describe the activity happening in the game fiction. Whether that cover is mechanically represented with Obscurement (PHB, p. 183) or Cover (p. 196) will depend on the exact circumstances as adjudicated by the DM on the scene, as is appropriate.