Performance issue with librocket

Hello There,

I have a performance issue when I show a librocket window.
When I click on a object, I show a window with tinny information on it, and I calculate distance from this object in real time.
My framerate goes from 28 to 18fps.

Did Anybody encounter this issue?