Clear timeout to save CPU time.

Allow to avoid to call X grid and tooltip callbacks too much.
It improves performances on Firefox.