Fixes

Somes fixes on TextItem.
Refactor of mouse events propagation in low level code.