I use Mogr3D, but I have built my own UI rendering system. Probably libRocket does the same,
Try to do some tests by using the Overlay objects, if I'm correct they do not remove the fog from the SceneManager.
Does libRocket use .material files or vertex scripts that might remove the fog there?
Have you tried adding the fog AFTER adding the UI stuff ?
T.