Fixed resizeGL