fix the error about `draw` of GLNode and modify the related test cases