Small rework.

* New logic for tooltip content rendering;
* Ability for preventing events propagation.