Sweeping the back of the kilt under your butt when you sit down pretty much prevents this (and other rude things) from happening.

Funny story though.