VideoEngine: Fix deadlock due to recent changes