Only disable automatic clearing when rendering before QML.