Fix draw_elements limitation error.