The problem you're facing is two-fold.
1. Most rear lights that have a clip tend to be the most secure when clipped in to their matching bracket for the bike.
2. Most rear lights have such a narrow beam that they need to be aimed for effect- which is hard to do on flimsy fabric.
You'll have better luck putting one on your helmet.