fix gl reshape