Happened to me too with the rapid d, woke up in agony and the set was pretty much detached from leg and blood all over sheets and running down my leg!!
Now when I wear my sets on my legs i make sure they are covered by a tubigrip, and have found that this actually also gives me more confidence to know that I cannot possibly pull it out acidentally. I continue to wear iot over the set day and night, and know I can pull jeans/trousers/leggings down and I cannot possibly catch it. I don't know whether the tubigrip gives a little bit more pressure to the set staying firm, but my levels get even more stability with the tubigrip over it. I also use the tubi grip to hold my pump to my arms. Have to have 10ocm tubing but don't find any problems with the tubing at all. Using all of my legs from above knees also gives a lot more comfort than my beely where I was always hitting muscle or blood and discomfort.
Can now go all day and all night without worrying....absolute bliss....