fix bad conditional check on doLoop setting for ambient video and touch devices