glcanvas bug fixed