Fixed memory assertion memoryleak by replacing bind to stylesheet of
eventLines with setStyle