Added work-around for QT Bug