Workaround for QTBUG-35919 (ns:3172)