Fixed Widget updating problem with new Qt version