Can you show how you add the widget and actually draw the lines? At a glance it looks like the array is not being cleared or too many widgets are added.
Can you show how you add the widget and actually draw the lines? At a glance it looks like the array is not being cleared or too many widgets are added.