qml: fix auto play crash