Workaround for QTBUG-29908