Fixed null reference exception for partially iterated PixArray enumerator.