In a pinch, scotch tape wrapped around the habaki a few times will do, though it will eventually squish flat and you will still have the problem. However, I did this for a dojo-mate just before our demo at the matsuri and it works fine for about a month.
When you take off the tape, it will leave a bit of adhesive on the habaki so be sure to clean it off before sheathing. The other fixes mentioned here are more permanent and better, but I thought I'd share mine for those times a quick fix is needed.
I have a friend who trains in Shinto Ryu in Tokyo and he told me Otake Sensei advised him...
Hmm, I don't think Otake sensei teaches SMR.
J. Nicolaysen
-------
"I value the opinion much more of a grand master then I do some English professor, anyways." Well really, who wouldn't?
We're all of us just bozos on the budo bus and there's no point in looking to us for answers regarding all the deep and important issues.--M. Skoss.