rpi: Rework locking in video playback path

Fixes #2098
glw: Fix another issue related to conditional ui rendering.

Fixes #2108