Restoring app window via WindowsKey-UpArrow has different timing implications than restoring by clicking on the app icon in the task bar. This leads to a different ramp-up of the graphics pipeline before render times become stable again, which the VideoPlayer did not take into account. Not it does, which fixes the looping detection logic.