fix glEnable/Disable in list; improve ArrayElement