Fix another small race condition in the Qt4 video window