fixes mouse events are not fired by text layers attached to polylines wi...

...th events