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