Fix texture example calling reshape at the begin of the rendering loop