Need to call resizeGL in order to update the projection matrix.