Another sanity check for UISim.

Shouldn't actually be needed, but code is behaving weirdly.