Fix runtime warning: 'QPainter::begin: Painter already active'