The shower has separate taps, and if the shower goes cold, I turn off both taps and start again and just turn the hot on a little more than I usually do.
It doesn't happen all the time, but I think there must be a point where the instantaneous hot water system decides there is not enough flow...