Lock opengl mutex when calling QWidget::focus*, plus make opengl mutex recursive