Fixed some enumerator bugs with Script2D and threads